package cn.detu.ln.service;

import cn.detu.ln.entity.SelCourse;
import cn.detu.ln.utils.RestUtil;

/**
 * @author :ln
 * @version : 1.0
 * @Project : education_backend
 * @Package : cn.detu.ln.service
 * @ClassName : SelCourseService.java
 * @createTime : 2023/3/30 11:42
 * @Description :
 */
public interface SelCourseService {
    RestUtil selectAll();
    SelCourse queryCourseById(Integer courseId);

    RestUtil courseDelete(Integer courseId);

    RestUtil courseUpdate(SelCourse course);

    RestUtil courseInsert(SelCourse course);
    // 按课程Id模糊查询
    RestUtil queryCourseByIdPage(Integer current, Integer rows, String search);
    // 按课程名称模糊查询
    RestUtil queryCourseByPage(Integer current, Integer rows, String search);
    // 按课程性质模糊查询
    RestUtil queryCourseByNaturePage(Integer current, Integer rows, String search);

}
